
import VueScrollReveal from './scrollreveal';
import './utils/rem.js'

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import naive from 'naive-ui'

import App from './App.vue'
import router from './router'

const app = createApp(App)
app.use(createPinia())
app.use(router)
app.use(naive)
app.use(VueScrollReveal, {
  duration: 800, // 动画持续时间
  scale: 1,      // 元素缩放
  distance: '50px', // 动画移动距离
  mobile: true   // 在移动设备上启用动画
});

app.mount('#app')
